/* 
 * File:   project_editor.hpp
 * Author: jolo
 *
 * Created on 13. Oktober 2011, 15:40
 */

#ifndef GUI_PROJECT_EDITOR_HPP
#define	GUI_PROJECT_EDITOR_HPP

#include <widgets/data_editor.hpp>

namespace model
{
    class project;
    typedef shared_ptr<project> project_ptr;
}

namespace widgets {
    class labelled_line_edit;
    class labelled_text_edit;
}

namespace gui
{

    class project_editor : public widgets::data_editor
    {
        Q_OBJECT
    public:
        project_editor(model::project_ptr p, QWidget* p);
        virtual ~project_editor();
        
    private:
        widgets::labelled_line_edit* name_;
        widgets::labelled_text_edit* description_;
    };
}

#endif	/* PROJECT_EDITOR_HPP */

